﻿<%@ Page Title="בקשת העסקה חדשה" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="NewAssignment.aspx.cs" Inherits="TempEmployees.Web.WebFormNewAssignment" %>

<%@ Register Src="~/UserControls/EmployeeDetails.ascx" TagName="EmployeeDetails"
    TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/AssignmentDetails.ascx" TagName="AssignmentDetails"
    TagPrefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="ErrorPanel" Visible="false" runat="server">
        <asp:Label ID="LabelError" runat="server"></asp:Label>
    </asp:Panel>
    <table style="width: 100%;">
        <tr>
            <td>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <fieldset>
                            <legend class="legend">פרטי העובד </legend>
                            <uc1:EmployeeDetails ID="EmployeeDetails1" runat="server" />
                        </fieldset>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td>
                <hr />
            </td>
        </tr>
        <tr>
            <td>
                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                    <ContentTemplate>
                        <fieldset>
                            <legend class="legend">פרטי העסקה </legend>
                            <uc2:AssignmentDetails ID="AssignmentDetails1" runat="server" />
                        </fieldset>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td align="right">
                <asp:Button ID="ButtonSubmit" runat="server" Text="שלח בקשה" OnClick="ButtonSubmit_Click" />
                <asp:Label ID="LabelMessageResult" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>
